import { BaseApi } from "@/api/base";
import http from "@/api/http";

class MicroProcessApi extends BaseApi {
  constructor(url) {
    super(url);
  }
  save = (params: any): Promise<any> => {
    return http.post(this.url + "/save", params);
  };
  queryByAppId = (appId: Number): Promise<any> => {
    return http.get(this.url + "/queryByAppId", { appId });
  };
}
export default new MicroProcessApi("/micro/process");
